package com.stockz.ui.swing.charting.widget;

import javax.swing.JPopupMenu;

import com.stockz.ui.swing.charting.model.Point;
import com.stockz.ui.swing.charting.util.SwingUtil;
import com.stockz.ui.swing.watchlist.widget.AddToWatchListMenu;

public class StockChartRightClickPopupMenu extends JPopupMenu{
	private static final long serialVersionUID = -923901652099471835L;
	
	private Point point;
	
	public StockChartRightClickPopupMenu() {
		this.setFont(SwingUtil.mediumFont);
		add(new ClipMenuItem()); addSeparator();
		add(new ResetChartMenuItem()); addSeparator();
		add(new AddToWatchListMenu(this)); 
	}

	public Point getPoint() {
		return point;
	}

	public void setPoint(Point point) {
		this.point = point;
	}
	
}
